package io.github.siltal.examsystembackend.dto;

import java.util.List;

public record RandomQuestionOptionResponse(
        Boolean ok,
        List<QuestionOption> items
) {
    public static RandomQuestionOptionResponse empty(){
        return new RandomQuestionOptionResponse(true,List.of());
    }

    public static RandomQuestionOptionResponse from(List<QuestionOption> items){
        return new RandomQuestionOptionResponse(true,items);
    }

}
